package com.syni.mdd.sjb.common.component.utils.common.entity.bo;

import lombok.Data;

@Data
public class Task {
    private String cronId;
    private String cron;
    private Runnable runnable;

    public Task(String cronId, String cron, Runnable runnable) {
        this.cronId = cronId;
        this.cron = cron;
        this.runnable = runnable;
    }
}
